# -*- coding: utf-8 -*-

import os
VACATION_HOST = '0.0.0.0'
VACATION_PORT = 9898

host = os.environ.get('VACATION_HOST', VACATION_HOST)
port = os.environ.get('VACATION_PORT', VACATION_PORT)

bind = "%s:%s" % (host, port)
workers = 4
worker_class = 'gevent'  # 或者用 sync
backlog = 2048
daemon = False  # 用 supervisor 监控必须设为 False
